package com.xtaller.easy.admin.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.xtaller.common.kit.IdKit;
import com.xtaller.common.kit.ToStringSerializer;

import java.io.Serializable;

/**
* Created by Taller on 2018/06/02
*/
@SuppressWarnings("serial")
@TableName(value = "sys_organizational")
public class SysOrganizational extends Model<SysOrganizational> {

    private String id = IdKit.getId(111);
  private String name;

    private String parentId;
  private String remark;
  private String creator;
    private Integer sort;
  private Integer createTime;
  private String reviser;
  private Integer reviseTime;
  private Integer isDel;

    public String getId() {
      return id;
  } 
  public void setId(String id) {
      this.id = id;
  } 
  public String getName() { 
      return name;
  } 
  public void setName(String name) { 
      this.name = name;
  } 
  public String getParentId() {
      return parentId;
  } 
  public void setParentId(String parentId) {
      this.parentId = parentId;
  } 
  public String getRemark() { 
      return remark;
  } 
  public void setRemark(String remark) { 
      this.remark = remark;
  } 
  public String getCreator() {
      return creator;
  } 
  public void setCreator(String creator) {
      this.creator = creator;
  } 
  public Integer getCreateTime() { 
      return createTime;
  } 
  public void setCreateTime(Integer createTime) { 
      this.createTime = createTime;
  } 
  public String getReviser() {
      return reviser;
  } 
  public void setReviser(String reviser) {
      this.reviser = reviser;
  } 
  public Integer getReviseTime() { 
      return reviseTime;
  } 
  public void setReviseTime(Integer reviseTime) { 
      this.reviseTime = reviseTime;
  } 
  public Integer getIsDel() { 
      return isDel;
  } 
  public void setIsDel(Integer isDel) { 
      this.isDel = isDel;
  }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
  protected Serializable pkVal() {
      return id;
  }
}
